package com.bootdo.wx.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.wx.dao.CmsAfternoticeDao;
import com.bootdo.wx.domain.CmsAfternoticeDO;
import com.bootdo.wx.service.CmsAfternoticeService;



@Service
public class CmsAfternoticeServiceImpl implements CmsAfternoticeService {
	@Autowired
	private CmsAfternoticeDao cmsAfternoticeDao;
	
	@Override
	public CmsAfternoticeDO get(String id){
		return cmsAfternoticeDao.get(id);
	}
	
	@Override
	public List<CmsAfternoticeDO> list(Map<String, Object> map){
		return cmsAfternoticeDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return cmsAfternoticeDao.count(map);
	}
	
	@Override
	public int save(CmsAfternoticeDO cmsAfternotice){
		return cmsAfternoticeDao.save(cmsAfternotice);
	}
	
	@Override
	public int update(CmsAfternoticeDO cmsAfternotice){
		return cmsAfternoticeDao.update(cmsAfternotice);
	}
	
	@Override
	public int remove(String id){
		return cmsAfternoticeDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return cmsAfternoticeDao.batchRemove(ids);
	}

    @Override
    public List<CmsAfternoticeDO> likeList(Map<String, Object> map){
        return cmsAfternoticeDao.likeList(map);
    }
	
}
